package com.htpro.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("room")
public class Room {
    @TableId("id")
    private Integer rid;
    private Integer cid;
    @TableField("name")
    private String rname;
    private Integer type;
    @TableField("seat-count")
    private Integer count;
    private String posimg;
    @TableField(exist = false)
    private Cinema cinema;
    @TableField(exist = false)
    private Typer typer;

}
